package com.cw.jeeyt.service.facade;

import java.util.List;

import com.cw.jeeyt.service.bo.facade.FacadeClassBo;
import com.cw.lang.mybatis.dto.PageInfo;
import com.cw.lang.mybatis.dto.PageParam;

/**
 * 接口类业务接口
 *
 * @author chenw
 * @date 2019-10-31 22:35:52
 */
public interface FacadeClassService {
    /**
     * 新增接口类
     *
     * @param request 条件
     * @return String
     */
    String addFacadeClass(FacadeClassBo request);

    /**
     * 更新接口类
     *
     * @param request 条件
     * @return boolean
     */
    boolean modifyFacadeClass(FacadeClassBo request);

    /**
     * 删除接口类
     *
     * @param request 条件
     * @return boolean
     */
    boolean deleteFacadeClass(FacadeClassBo request);
	/**
     * 分页查询接口类
     *
     * @param request 条件
     * @return PageInfo<FacadeClassBo>
     */
    PageInfo<FacadeClassBo> selectPage(FacadeClassBo request, PageParam pageParam) throws Exception;

    /**
     * 查询接口类详情信息
     *
     * @param request 条件
     * @return FacadeClassBo
     */
    FacadeClassBo queryFacadeClassDetail(FacadeClassBo request);

    /**
     * 根据条件查询接口类
     *
     * @param request 条件
     * @return List<FacadeClassBo>
     */
    List<FacadeClassBo> queryFacadeClassList(FacadeClassBo request);
	  /**
     * 根据key查询接口类
     *
     	 	 * @param id
	 	      * @return
     */
    public FacadeClassBo selectByKey(Long id);
}
